﻿using System;
using System.Collections.Generic;
//using System.Linq;
using System.Text;

namespace BaseModel
{
   [Serializable]
    public class Equipment
    {
        private string name;                //设备名
        private string model;               //型号  
        private string company;             //厂商     
        private string placeOfProduction;   //原产地   

        public string Name
        {
            get { return name;}
            set { name = value; }
        }

        public string Company
        {
            get { return company; }
            set { company = value; }
        }
        public string Model
        {
            get { return model; }
            set { model = value; }
        }

        public string PlaceOfProduction
        {
            get { return placeOfProduction; }
            set { placeOfProduction = value; }
        }
    }

    [Serializable]
    public class WellInfo          //井信息
    {
        private string name;       //井名  
        private string wellType;   //井型     
        private string category;   //井别     
        private string zone;       //区块
        private double startMD;    //起始测深     
        private double endMD;      //终止
        
        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public string WellType
        {
            get { return wellType; }
            set { wellType = value; }
        }

        public string Zone
        {
            get { return zone; }
            set { zone = value; }
        }

        public string Category
        {
            get { return category; }
            set { category = value; }
        } 
        
        public double StartMD
        {
            get { return startMD; }
            set { startMD = value; }
        }

        public double EndMD
        {
            get { return endMD; }
            set { endMD = value; }
        }

    }

    [Serializable]
    public class WellLoggingInfo    //测井数据信息
    {
        private string name;        //测井数据名称
        private string unit;        //单位

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public string Unit
        {
            get { return unit; }
            set { unit = value; }
        }
    }

    [Serializable]
    public class WellLoggingPoint   //测点数据
    {
        private double[] value;     //测点数据集合
        private double testMD;      //测深
        private DateTime testTime;  //测试时间

        public double[] Value
        {
            get { return this.value; }
            set { this.value = value; }
        }

        public DateTime TestTime
        {
            get { return testTime; }
            set { testTime = value; }
        }

        public double TestMD
        {
            get { return testMD; }
            set { testMD = value; }
        }
    }
}
